﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;

namespace RecruitStudents.Client.WS.Helper
{
    public class BaseServiceHelper : WebService
    {
        #region 实例化各个业务接口
        protected RecruitStudents.BLL.Comm.Impl.BLLComm ServiceBLLComm
        {
            get
            {
                return RecruitStudents.BLL.Comm.ServiceHelper.CreateCommService();
            }
        }


        protected BLL.Impl.BLLAppointment ServiceAppointment
        {
            get
            {
                return BLL.ServiceHelper.CreateAppointmentService();
            }
        }
        protected BLL.Impl.BLLBase ServiceBase
        {
            get
            {
                return BLL.ServiceHelper.CreateBaseService();
            }
        }
        protected BLL.Impl.BLLComm ServiceComm
        {
            get
            {
                MySoapHeader test = MyHeader;
                return BLL.ServiceHelper.CreateCommService();
            }
        }
        protected BLL.Impl.BLLConsult ServiceConsult
        {
            get
            {
                return BLL.ServiceHelper.CreateConsultService();
            }
        }
        protected BLL.Impl.BLLExaminee ServiceExaminee
        {
            get
            {
                return BLL.ServiceHelper.CreateExamineeService();
            }
        }
        protected BLL.Impl.BLLFinancial ServiceFinancial
        {
            get
            {
                return BLL.ServiceHelper.CreateFinancialService();
            }
        }
        protected BLL.Impl.BLLLottery ServiceLottery
        {
            get
            {
                return BLL.ServiceHelper.CreateLotteryService();
            }
        }
        protected BLL.Impl.BLLOnSiteSign ServiceOnSiteSign
        {
            get
            {
                return BLL.ServiceHelper.CreateOnSiteSignService();
            }
        }
        protected BLL.Impl.BLLScore ServiceScore
        {
            get
            {
                return BLL.ServiceHelper.CreateScoreService();
            }
        }
        protected BLL.Impl.BLLSecretary ServiceSecretary
        {
            get
            {
                return BLL.ServiceHelper.CreateSecretaryService();
            }
        }

        #endregion


        #region SoapHead
        private MySoapHeader m_myheader;
        public MySoapHeader MyHeader
        {
            get
            {
                return m_myheader;
            }
            set
            {
                m_myheader = value;
            }
        }
        #endregion
    }
}